package com.buvaka.features;


public class Point implements Features {
	
	private LatLng latLng;
	private String properties;
	
	public Point(LatLng latLng){
		this.latLng = latLng;
		
	}
	
	public Point(double lat, double lng){
		this(new LatLng(lat, lng));
		
	}
	
	@Override
	public String toString(){
		return new StringBuffer().append(OPEN).append(TYPE_POINT).append(COMMA).append(COORDINATES).append(latLng).append(CLOSE).toString();
		
	}
	
		
	/**
	 * @return the properties
	 */
	@Override
	public String getProperties() {
		return new StringBuilder().append("\"").append(properties).append("\"").toString();
	}
	
	/**
	 * @param properties the properties to set
	 */
		public void setProperties(String properties) {
		this.properties = properties;
	}
	
	

	
}
